package com.its.cloud.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @author huguangjun
 * @className BlockHandler
 * @date 2021/1/15
 * @desc 15:52
 */
public class BlockHandler {

    public static String handlerException(BlockException e) {
        return "按用户自定义返回提示：--------1" + e.getStackTrace();
    }

    public static String handlerException2(long p1, BlockException e) {
        return "按用户自定义返回提示：--------2" + e.getStackTrace();
    }
}
